package com.manage.competition.service;

import com.manage.competition.entity.CompetitionReview;

import java.util.List;

/**
 * Create with IDEA
 *
 * @Author: gitee.com/KamisamaXX
 * @Date: Create in 21:36 2019/4/9
 * @Description:
 */
public interface ICompetitionReviewService {
    CompetitionReview findByCompetitionIdAndUserId(long competitionId, long userId);

    List<CompetitionReview> findByUserId(long userId);

    int insert(CompetitionReview competitionReview);

    List<CompetitionReview> findByCompetitionId(Long currentCompetition);

    int delete(CompetitionReview competitionReview);
}
